/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const KnowledgeRouter = {
  path: '/Knowledge',
  component: Layout,
  redirect: '/Knowledge/Knowledge',
  name: 'Knowledge',
  meta: {
    title: '企业智库',
    icon: 'excel',
    roles: ['root', 'admin', 'guest' ]
  },
  alwaysShow: true,
  children: [
    {
      path: 'Knowledge',
      name: 'Knowledge',
      component: () => import('@/views/Knowledge/Knowledge'),
      meta: { title: '企业智库', icon: 'dian' }
    }
  ]
}

export default KnowledgeRouter
